let apiUrl = '';
let hncWebUrl = '';
let masterUrl = '';
let cloudUrl = '';
let layoutUrl = '';
let imgUrl = '';
let macUrl = '';
let pictureUrl = '';
let hncWebAdminUrl = '';
let mqttUrl = '';
let cutterUrl = '';
let flowUrl = '';
let stationUrl = '';
//  process.env.NODE_ENV = 'production'
console.log(process.env.NODE_ENV, 99);
switch (process.env.NODE_ENV) {
  case 'development':
    // 本地服务器域名
    apiUrl = 'https://apitest.hzncc.cn/cloudManagerApi';
    hncWebUrl = 'https://apitest.hzncc.cn/HncWeb';
    cloudUrl = 'https://apitest.hzncc.cn/index.php/api/Gcode';
    masterUrl = 'https://maste.hzncc.cn';
    layoutUrl = 'https://apitest.hzncc.cn/HncWeb/uploadCommonPicture.action';
    imgUrl = 'https://apitest.hzncc.cn/HncWeb/uploadTaskPicture';
    macUrl = 'https://apitest.hzncc.cn/HncWeb/uploadArchivesPicture.action';
    pictureUrl = 'https://assettest.hzncc.cn/HncWeb/';
    hncWebAdminUrl = 'https://apitest.hzncc.cn/HncWebAdmin';
    cutterUrl = 'http://apitest.hzncc.cn/v1';
    mqttUrl = 'wss://mqtt.hzncc.cn/mqtt';
    flowUrl = 'https://linkmanage.hzncc.cn';
    stationUrl = 'http://api.cellocation.com:82';
    break;
  case 'production_test':
    // 测试服务器域名
    apiUrl = 'https://apitest.hzncc.cn/cloudManagerApi';
    hncWebUrl = 'https://apitest.hzncc.cn/HncWeb';
    cloudUrl = 'https://apitest.hzncc.cn/index.php/api/Gcode';
    masterUrl = 'https://maste.hzncc.cn';
    layoutUrl = 'https://apitest.hzncc.cn/HncWeb/uploadCommonPicture.action';
    imgUrl = 'https://apitest.hzncc.cn/HncWeb/uploadTaskPicture';
    macUrl = 'https://apitest.hzncc.cn/HncWeb/uploadArchivesPicture.action';
    pictureUrl = 'https://assettest.hzncc.cn/HncWeb/';
    hncWebAdminUrl = 'https://apitest.hzncc.cn/HncWebAdmin';
    cutterUrl = 'http://apitest.hzncc.cn/v1';
    mqttUrl = 'wss://mqtt.hzncc.cn/mqtt';
    flowUrl = 'https://linkmanage.hzncc.cn';
    stationUrl = 'http://api.cellocation.com:82';
    break;
  case 'production':
    apiUrl = 'https://api.hzncc.cn/cloudManagerApi';
    hncWebUrl = 'https://api.hzncc.cn/HncWeb';
    masterUrl = 'https://maste.hzncc.cn';
    cloudUrl = 'https://api.hzncc.cn/index.php/api/Gcode';
    layoutUrl = 'https://api.hzncc.cn/HncWeb/uploadCommonPicture.action';
    imgUrl = 'https://api.hzncc.cn/HncWeb/uploadTaskPicture';
    macUrl = 'https://api.hzncc.cn/HncWeb/uploadArchivesPicture.action';
    pictureUrl = 'https://asset.hzncc.cn/HncWeb/';
    hncWebAdminUrl = 'https://api.hzncc.cn/HncWebAdmin';
    cutterUrl = 'http://apitest.hzncc.cn/v1';
    mqttUrl = 'wss://mqtt.hzncc.cn/mqtt';
    flowUrl = 'https://linkmanage.hzncc.cn';
    stationUrl = 'http://api.cellocation.com:82';
    break;
}
export {
  apiUrl,
  hncWebUrl,
  masterUrl,
  cloudUrl,
  layoutUrl,
  imgUrl,
  macUrl,
  pictureUrl,
  hncWebAdminUrl,
  cutterUrl,
  mqttUrl,
  flowUrl,
  stationUrl,
};
